package com.wing.cabinet.model.request;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.wing.cabinet.model.entity.StorageSingleInventoryProduct;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 暂存柜产品库存(单个柜子)Form
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class StorageSingleInventoryProductForm {

    /**
     * ID
     */
    private Long id;

    /**
     * 创建者
     */
    private Long creator;

    /**
     * 修改者
     */
    private Long modifier;

    /**
     * 创建人
     */
    private String creatorName;

    /**
     * 修改人
     */
    private String modifierName;

    /**
     * 柜子id
     */
    private Long cabId;

    /**
     * sku id
     */
    private Long skuId;

    /**
     * 库存数量
     */
    private Integer quantity;

    /**
     * 企业id
     */
    private Long companyId;

    /**
     * 货道id
     */
    private Integer spaceId;

    /**
     * (0正常，1告警)
     */
    private Long status;

    /**
     * 货道编号
     */
    private String spaceCode;

    /**
     * 柜子编号
     */
    private String cabCode;

    /**
     * sku 编号
     */
    private String skuCode;

    /**
     * 业务类型
     */
    private StorageSingleInventoryProduct.BusinessType businessType;


    public interface Add{}

    public interface Update{}

    /**
     * 企业编码
     */
    private String enterpriseCode;

    private String mainCabCode;

    private Integer quantityPack;

    private Integer quantityPackUnit;

    private Long packId;

    private String packName;

    private String unitName;
}
